package com.yami.shop.bean.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 库存导入请求DTO
 */
@Data
@ApiModel(value = "库存导入请求", description = "库存导入请求参数")
public class InventoryImportDTO {
    
    /**
     * 店铺ID
     */
    @ApiModelProperty(value = "店铺ID", required = true, example = "1")
    private Long shopId;
    
    /**
     * 商品ID
     */
    @ApiModelProperty(value = "商品ID", required = true, example = "100")
    private Long productId;
    
    /**
     * 插入方式
     * 0: 顺序插入
     * 1: 随机输入
     */
    @ApiModelProperty(value = "插入方式", notes = "0为顺序插入,1为随机输入", example = "0")
    private Integer insertMode = 0;
    
    /**
     * 导入格式
     * 0: 自动识别
     * 1: 不分割
     */
    @ApiModelProperty(value = "导入格式", notes = "0为自动识别,1为不分割", example = "0")
    private Integer importFormat = 0;
    
    /**
     * 检查重复
     * 0: 不检查
     * 1: 检查
     */
    @ApiModelProperty(value = "检查重复", notes = "0为不检查,1为检查", example = "1")
    private Integer checkDuplicate = 1;
    
    /**
     * 上传的文件
     */
    @ApiModelProperty(value = "上传的账号密码集合", required = true)
    private List<String> accountPasswords;
} 